package com.lostandfound.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PublishDto {

    private Integer id;
    private String name;
    private String title;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime releaseTime;
    private String article;
    private String image;
    private LocalDate localDate;
    private String localPlace;
    private Integer reward;
    private String contacts;
    private String phoneNumber;
    private String category;
    private Integer stamp;
}
